﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FATCASchema.Nodes
{
    public class CorrectableOrganisationParty : iNode
    {
        public string Name { get; private set; }
        public bool AllowAddChildren { get; private set; }
        public List<iNode> Children { get; private set; }
        public object NodeObject { get; private set; }

        public CorrectableOrganisationParty(string name, CorrectableOrganisationParty_Type nodeObject)
        {
            this.Name = name;
            this.NodeObject = nodeObject;
            this.AllowAddChildren = false;
            this.LoadChildren();
        }

        public void LoadChildren()
        {
 
        }

        public void AddChild()
        { }

        public void LoadPane()
        { }
    }
}
